﻿<?php
	session_start();
    $ReJson = $_SESSION['SaveJsonDemo'];
    //读取Session
    $ReadLoginS=json_decode($ReJson);
    //解析JSON
    $Dname = $ReadLoginS->Sname;
    //解析名字
    $Dmail = $ReadLoginS->Smail;
    //解析邮箱
    $Dsid = $ReadLoginS->Ssid;
    //解析Sid
    $Ddata = $ReadLoginS->Sdata;
    //解析注册时间
?>

<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>水果文档|公共上传区</title>
	<script src='https://www.google.com/recaptcha/api.js'></script>
    <link rel="stylesheet" href="css/style.css" media="screen" type="text/css" />
</head>
<body>
    <center>
        <?php if ($Dname == ""){echo '您没有登录，请登录后刷新，谢谢。';}else{echo '您已登录！欢迎使用公共上传区~';}?>
        <h1>欢迎来到公共上传区!</h1><br>
        <p>请不要上传违规文件，请记住:您在该区发布的任何内容别人是可以下载并查看的,只有管理员可以进行删除操作。</p><br>
       <!-- <a href="UploadToPublic.php"><button type="button">上传</button></a> -->
        <a class="btn btn-medium btn-green btn-radius" href="UploadToPublic.php">上传文件</a>
        <a class="btn btn-medium btn-orange  btn-radius" href="index.php">返回主页</a>
        <a class="btn btn-medium btn-blue btn-radius" href="https://cutesheep.lfio.net/wordpress/index.php/2018/10/02/%E7%AC%AC%E4%B8%80%E4%B8%AA%E9%A1%B9%E7%9B%AE-%E6%B0%B4%E6%9E%9C%E6%96%87%E6%A1%A3/">查看帮助</a>
        <br>
        <br>
        <br>
        <address>
            Copyright &copy; 2018-Forever CuteSheep All Right Resevered.<br>
        </address>
    </center>
</body>
</html>